﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MineLaunch.Setting
{
    public class SettingsLocal : SettingsBase
    {
        private SettingsLocal() { }

        public ModelSettingsLocal settingsLocal;

        public void Load()
        {
            settingsLocal = base.LoadSettings("SettingsLocal.dat") as ModelSettingsLocal;
            if (settingsLocal == null) settingsLocal = new ModelSettingsLocal();
        }

        public void Save()
        {
            base.SaveSettings("SettingsLocal.dat", settingsLocal);
        }

        private static SettingsLocal instance = new SettingsLocal();
        public static SettingsLocal GetInstance()
        {
            return instance;
        }
    }
}
